package com.admin.req.system;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 角色保存
 * 
 * @author ZY
 * @date 2018/10/18
 */
@Data
@ApiModel("UpdateRoleReq(角色保存)")
public class UpdateRoleReq {

    @ApiModelProperty(value = "角色id", required = true)
    private Long roleId;

    @ApiModelProperty(value = "角色名称", required = true)
    private String roleName;

    @ApiModelProperty(value = "角色等级", required = true)
    private String roleLevel;

    @ApiModelProperty(value = "角色对应的区域id", required = true)
    private Integer businessAreaId;

    private String responsibleArea;

    @ApiModelProperty(value = "角色对应的区域id", required = true)
    private String responsibleAreaId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "菜单id", required = true)
    private List<Long> menuIds;

    /**
     * 获取
     * 
     * @return role_id
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     * 设置
     * 
     * @param roleId
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    /**
     * 获取角色名称
     * 
     * @return role_name 角色名称
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * 设置角色名称
     * 
     * @param roleName 角色名称
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    /**
     * 获取备注
     * 
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     * 
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public List<Long> getMenuIds() {
        return menuIds;
    }

    public void setMenuIds(List<Long> menuIds) {
        this.menuIds = menuIds;
    }

    public String getRoleLevel() {
        return roleLevel;
    }

    public void setRoleLevel(String roleLevel) {
        this.roleLevel = roleLevel;
    }

    public Integer getBusinessAreaId() {
        return businessAreaId;
    }

    public void setBusinessAreaId(Integer businessAreaId) {
        this.businessAreaId = businessAreaId;
    }

}